#include <cstdlib>

namespace bga
{

template< typename T >
Event<T>::Event() : sender(NULL)
{
}

template< typename T >
Event<T>::Event(const T& sender) : sender(&sender)
{
}

template< typename T >
Event<T>::~Event()
{
}

template< typename T >
void Event<T>::setSender(const T& sender)
{
    this->sender = &sender;
}

template< typename T >
const T* Event<T>::getSender() const
{
    return this->sender;
}

}

